<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    *{
        padding: 0;
        margin: 0;
    }
    title{
        width: 30px;
        height: 200px;
        margin-left: 100px; 
    }
    .shuru{
        margin-left: 500px;
        margin-top: 100px;
        font-size: 20px;
    }
    .yzm{
        margin-left: 500px;
        margin-top: 20px;
        font-size: 20px;
    }
    text{
        font-size: 20px;
    }
    .img{
        width: 20px;
        height: 30px;
    }
    select{
        width: 150px;
        height: 40px;
        font-size: 20px;
        border: solid 1px #000000;
    }
    .placeholder{
        font-size: 20px;
    }
    :-ms-input-placeholder{
        font-size: 20px;
    }
    #hqyzm{
        font-size: 20px;
        width: 150px;
        height: 40px;
        background-color:rgb(255, 255, 255);
        color: red;
        display:inline-block;
        border: 1px solid #000000;
        text-align: center;
        text-decoration: none;
        margin:0 auto;

    }
    button{
        width: 300px;
        height: 40px;
        background-color: orange;
        font-size: 14px;
        color: white;
        outline: none;   
        margin-top: 50px;   
        margin-left: 610px; 
    }
    .xy{
        width: 320px;
        height: 40px;
        font-size: 12px;
        margin-left: 610px;
        margin-top: 20px;
    }
    #xy{
        font-size: 12px;
        color: red;
        text-decoration: none;
    }
    #Xy{
        font-size: 12px;
    }
    .dzl{
        font-size: 20px;
        color: silver;
        margin-top: 10px;
        margin-bottom: 10px;
        margin: auto;
        text-align: center;
    }
    .hfx{
        font-size: 20px;
        color: silver;
        margin-top: 10px;
        margin-bottom: 10px;
        margin: auto;
        text-align: center;
    }
</style>
<body>
    <div id='titles'>
        <img src="taobaozhuce.png" alt="">
    </div>
    <p class="shuru">手机号码： <select><option>中国大陆  +86</option></select><input type="text" id="num" style="width: 300px;height: 40px;" placeholder="请输入你的手机号码"></p>
    <div><p class="yzm">&nbsp&nbsp&nbsp&nbsp验证码：    <input type="text" class="" style="width: 300px;height: 40px;" placeholder="请输入校验码"><a href="" id="hqyzm" onclick="return checkmm();">获取验证码</a></p></div>
    <div><button style="text-align: center;" type="submit" >同意协议并注册</button></div>

    <div class="xy"><p id="Xy">已阅读并同意以下协议<a id="xy" href="https://terms.alicdn.com/legal-agreement/terms/TD/TD201609301342_19559.html">淘宝平台服务协议、隐私权政策、法律声明、支付宝及客户端服务协议</a></p></div>
    <div style="border: 1px solid #a19f9f;"></div>
    <br>
    <div class="dzl">阿里巴巴集团|阿里巴巴国际站|阿里巴巴中国站|全球速卖通|淘宝网|天猫|聚划算|一淘|阿里妈妈|阿里云计算|云OS|万网|支付宝</div>
    <br>
    <div style="border: 1px solid #a19f9f;"></div>
    <br>
    <div class="hfx">关于淘宝合作伙伴营销中心联系客服开放平台诚征英才联系我们网站地图法律声明及隐私权政策© 2021 Taobao.com 版权所有<br>
        网络文化经营许可证：文网文[2010]040号|增值电信业务经营许可证：浙B2-20080224-1|信息网络传播视听节目许可证：1109364号</div>
</body>
<script>
    function checkmm(){
        for (let index = 0; index <= num.value.length; index++) {
           var i=0;
           i++;
        }
        if(i==13){
            alert("验证码为789456");
            return false;
        }else{
            alert("请输入正确的电话号码");
            return false;
        }
    }
</script>
</html>